# Contributor: Dennis Krupenik <dennis@krupenik.com>
# Maintainer: Dennis Krupenik <dennis@krupenik.com>
pkgname=clinfo
pkgver=3.0.21.02.21
pkgrel=0
pkgdesc="Print all known information about all available OpenCL platforms and devices in the system"
url="https://github.com/Oblomov/clinfo"
arch="all"
license="CC0-1.0"
makedepends="opencl-headers opencl-icd-loader-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/Oblomov/clinfo/archive/$pkgver.tar.gz"
subpackages="$pkgname-doc"
options="!check" # no upstream test suite

build() {
	make
}

package() {
	make BINDIR="$pkgdir"/usr/bin MANDIR="$pkgdir"/usr/share/man  install
}

sha512sums="
f2fe5ec450edb258412dbb458fc8895530d67cf96589c6b94f27e135227db1796582173c0fa48a578a23c572b73ddce007a6e75c67a23b297986e47792c264ad  clinfo-3.0.21.02.21.tar.gz
"
